package com.music.checkpoints.common.amqp.message;

import lombok.Data;

import java.io.Serializable;

/**
 * 进入考试消息
 */
@Data
public class EnterMsg implements Serializable {

    private static final long serialVersionUID = 3352769927239507770L;

    private Integer userId;

    private Integer examId;

    private String examCode;

    private Integer type;

    public EnterMsg(Integer userId, Integer examId, String examCode, Integer type) {
        this.userId = userId;
        this.examId = examId;
        this.examCode = examCode;
        this.type = type;
    }
}
